package com.tanhua.dubbo.server.pojo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "sound")
public class Sound implements Serializable {

    private static final long serialVersionUID=3811682148052386573L;

    private ObjectId id; //主键id
    private Long userId; //用户id

    private String soundUrl;//音频文件
    private Long created;   //创建时间
}